package com.ymf.page.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ymf.page.pojo.Description;
import com.ymf.page.pojo.MyMessage;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface MyMapper extends BaseMapper<MyMessage> {

    @Select("select  id,data,description_id from description where description_id=#{id}")
    List<Description> findDesc(int id);

    int updataDescription(Description description);
}
